<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
      <div>1</div>
      <div>2</div>
      <div>3</div>
      <div>4</div>
      <div>5</div>

    <script>
        let arr = document.getElementsByTagName('div');
        console.log(arr);
        let arr1 = [...arr];
        arr1.push('da');
        console.log(arr1);
    </script>
</body>
</html>